<#if parameters.currentPage??>
<div class="${parameters.cssClass}">
<form action="${parameters.action}" method="post" id="${parameters.pageBean}Form" name="${parameters.pageBean}Form">
<input type="hidden" id="${parameters.pageBean}Form_pageNo" name="${parameters.pageBean}.pageNo" value="${parameters.pageNo?html}"/>
<input type="hidden" id="${parameters.pageBean}Form_pageSize" name="${parameters.pageBean}.pageSize" value="${parameters.pageSize?html}"/>
<#if parameters.pageFormParamsHtml??>
${parameters.pageFormParamsHtml}
</#if>
</form>
<#if parameters.prevPage??>
<span onclick="submit${parameters.pageBean}Form('${parameters.prevPage?html}')">上一页</span>
</#if>
<#if parameters.prevPage2??>
<span onclick="submit${parameters.pageBean}Form('${parameters.prevPage2?html}')">${parameters.prevPage2?html}</span>
</#if>
<#if parameters.prevPage??>
<span onclick="submit${parameters.pageBean}Form('${parameters.prevPage?html}')">${parameters.prevPage?html}</span>
</#if>
<span class="current">${parameters.currentPage?html}</span>
<#if parameters.nextPage??>
<span onclick="submit${parameters.pageBean}Form('${parameters.nextPage?html}')">${parameters.nextPage?html}</span>
</#if>
<#if parameters.nextPage2??>
<span onclick="submit${parameters.pageBean}Form('${parameters.nextPage2?html}')">${parameters.nextPage2?html}</span>
</#if>
<#if parameters.nextPage??>
<span onclick="submit${parameters.pageBean}Form('${parameters.nextPage?html}')">下一页</span>
</#if>
每页<input type="text" value="${parameters.pageSize?html}" onkeydown="submit${parameters.pageBean}FormSize(event)"/>行
<input type="text" value="${parameters.currentPage?html}" onkeydown="submit${parameters.pageBean}FormNo(event)"/>/${parameters.totalPages?html}页
<script type="text/javascript">
	function submit${parameters.pageBean}Form(pageNo){
		$("#${parameters.pageBean}Form_pageNo").val(pageNo);
		${parameters.pageBean}Form.submit();
	}
	function submit${parameters.pageBean}FormNo(evt){
	  	if (evt.keyCode==13){
		  	var evt=evt?evt:(window.event?window.event:null);
		  	var element=evt.srcElement || evt.target;
		  	$("#${parameters.pageBean}Form_pageNo").val(element.value);
			${parameters.pageBean}Form.submit();
		}
	}
	function submit${parameters.pageBean}FormSize(evt){
	  	if (evt.keyCode==13){
		  	var evt=evt?evt:(window.event?window.event:null);
		  	var element=evt.srcElement || evt.target;
		  	$("#${parameters.pageBean}Form_pageSize").val(element.value);
			${parameters.pageBean}Form.submit();
		}
	}
</script>
</div>
</#if>